package com.aaa.system.service;

import com.aaa.entity.OperLog;
import com.aaa.system.vo.OperLogVo;
import com.aaa.vo.Result;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 操作日志记录 服务类
 * </p>
 *
 * @author L
 * @since 2023-03-23
 */
public interface IOperLogService extends IService<OperLog> {

    void insertOperLog(OperLog operLog);

    Result<IPage<OperLog>> selectAll(Integer current, Integer size, OperLogVo operLogVo);

    Result<Boolean> deleteOperLogByIds(long[] operIds);

    Result<Boolean> truncateTable();
}
